package daily_exercise;

public class VariantTest {
    public static int staticVar = 0;
    public int instanceVar = 0;
    public VariantTest(){
        staticVar++;
        instanceVar++;
        System.out.println("staticVar=" + staticVar + ",instanceVar=" + instanceVar);
    }

    public static void main(String[] args) {
        VariantTest test1 = new VariantTest();
        VariantTest test2 = new VariantTest();
        VariantTest test3 = new VariantTest();
    }
}
